package com.sky.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @version: 1.0
 * @Author: 李佳毅
 * @description:
 * @date: 2025-06-28 9:46
 */

@Data
@Component
@ConfigurationProperties(prefix = "sky.aliyun.oss")//告诉SpringBoot这个类是配置类. prefix = "aliyun.oss"配置文件的前缀
public class AliyunOSSProperties {

    private String endpoint;//阿里云OSS的endpoint
    private String bucketName;//阿里云OSS的bucketName
    private String region;//阿里云OSS的区域
}
